Implements a primitive prompt for user credentials.