fixed spring security issues in grantauth