7.x 1.x alpha

Added redirect code to check_credentials