KEYCLOAK-545 Stop NPE if no client_secret is specified or bearer-only ap...

...plication is used for grants/access