Only setting adminPass if it's in the provided details