Service as a member of the civilian teaching staff at the Academy in addition to creditable services authorized by any other law in any of the military services rendered prior to an appointment as professor, associate professor, assistant professor, or instructor shall be credited in computing length of service as a professor, associate professor, assistant professor, or instructor for purposes of pay and allowances.