Performes login in every application.