tests optimal bcrypt cost and adds initial user to database