Form-based authentication with a JDBC realm in GlassFish