Add required headers and extra login error