Changes for authentication in an OSGI container