JBPAPP-10935

Fallback to basic in case FORM/SPNEGO fail.
https://issues.jboss.org/browse/EAP5-22
https://issues.jboss.org/browse/SECURITY-448
https://issues.jboss.org/browse/JBPAPP-10935