Fix devise secret key generation