Due to GEOT-5731 a cascading WMS store cannot be configured if the combined username and password lenght is too big.
Go to "Add New Store" -> "WMS - Cascades a remote Web Map Service"
insert random name and url
insert long username
insert long password