Set application's type to prelogin

Application must loaded at preLogin phase to listen user_servervars2
createAuser events