fixed login issue  to use custom authentication provider impl
added core impl